[solved] Getting Error Not All Code Paths Return A Value 9to5answer

[solved] Getting Error Not All Code Paths Return A Value 9to5answer